﻿using System;
using System.ComponentModel.DataAnnotations;

namespace EAM.Model
{
    public class Sys_Module
    {
        public int Id { get; set; }
        [Required]
        [Display(Name = "模块名称")]
        public string Name { get; set; }
        [Display(Name = "链接地址")]
        public string Url { get; set; }
        [Display(Name = "图标")]
        public string Icon { get; set; }
        [Display(Name = "排序")]
        public int? OrderIndex { get; set; }
        [Display(Name = "父模块")]
        public int? ParentId { get; set; }
    }
}